package edu.berkeley.cs160.innovationers.shoppersidekick.model;

/**
 * This defines the interface for the ListItem. It should be implemented by both the
 * Server and Clients respectively.
 * 
 * @author Nadir Muzaffar
 *
 */
public interface ListItemModelDefinition {
	/**
	 * 
	 * @return String: name of item.
	 */
	public String getItemName();
	
	/**
	 * 
	 * @return int: the quantity associated with this item. Default should be 1.
	 */
	public int getQuantity();
	
	/**
	 * 
	 * @param quantity
	 * @return true if the quantity was succesully stored to the database false otherwise.
	 */
	public boolean setQuantity(int quantity);
}
